package com.fhz.circle;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

import androidx.appcompat.app.AppCompatActivity;

import com.fhz.circle.widget.CountDownView;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * @author: fhz
 * @describe:
 * @date: 2021-11-11 21:18:02
 */

public class MainActivity extends AppCompatActivity {
    @BindView(R.id.myView)
    CountDownView my;

    private static final String TAG = "MainActivity";
//    @BindView(R.id.touch)
//    TouchPictureV touch;
//    @BindView(R.id.notifyView)
//    PointImageView notifyView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ButterKnife.bind(this);
        my.setMyListener(new CountDownView.MyListener() {
            @Override
            public void onClick() {
                Log.i(TAG, "onClick: ");
            }
        });

//        touch.setViewResultListener(new TouchPictureV.OnViewResultListener() {
//            @Override
//            public void onResult() {
//                Toast.makeText(MainActivity.this, "haha ", Toast.LENGTH_SHORT).show();
//            }
//        });

//        notifyView.setPointMode(3);
//        notifyView.setHaveMesage(true);
//        notifyView.setMessageNum(88);
    }

    public static void launch(Context activity) {
        Intent intent = new Intent(activity, MainActivity.class);
        activity.startActivity(intent);
    }
}
